import http from '@/utils/http.ts'
/*
{
    deliveryTimeType: 1,
    payType: 1,
    payChannel: 1,
    buyerMessage: '',
    goods:{
        skuId: skuId,
        count: count
      },
    addressId: curAddress.value.id
}

*/ 
//获取订单id
export const getPayId = (data)=>{
    return http({
        url:'/member/order',
        method:'post',
        data:data
    })
}
//获取订单信息
export const getPayInfo = (id)=>{
    return http({
        url:`/member/order/${id}`
    })
}